package com.buba.system.dao;

import com.buba.system.pojo.Menu;
import com.buba.system.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface MenuMapper {

    List<Menu> selMenu(Integer jobId);

    


    Integer addMenuByJobId(Map<String, Object> map);

    Integer delEmpJobEmId(List<String> list);

    Integer delMenuByJobId(Integer jobId);

    long selMenuCount();


    List<Menu> selMenuAll();

    List<Menu> selMenuTable(Page<Menu> page);
}
